// **********************************************************************
//
// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

#ifndef OPCOUNTER_ICE
#define OPCOUNTER_ICE

module Demo
{

interface Person
{
    nonmutating string name();
    nonmutating string getAddress();
    void setAddress(string addr);
    void destroy();
};

exception PersonExists
{
};

sequence<Person*> PersonSeq;

interface PersonFactory
{
    Person* create(string name, string addr) throws PersonExists;
    nonmutating Person* find(string name);
    nonmutating PersonSeq list();
};

};

#endif
